import { createApp } from 'vue'
import './style.css'
import './style.scss'
import App from './App.vue'
import 'vant/lib/index.css';
import router from "./router";
import { createPinia } from 'pinia'
// import "@/utils/vconsole.js"
import './permission'
import {
	Button, Checkbox, CheckboxGroup,
	NumberKeyboard, Image as VanImage, Icon,
	NavBar, Col, Row, ActionSheet, Field, Uploader, Tabbar,
	TabbarItem, PullRefresh, List, TextEllipsis,
	SwipeCell, Badge, Cell, CellGroup, Grid, GridItem, Dialog, Popup, Sidebar, 
	SidebarItem, Picker, Search, Card, Space, Divider, RadioGroup, 
	Radio, SubmitBar, Form, Empty,
	Cascader,
	Overlay,
	Swipe, SwipeItem,ImagePreview,
	Tab, Tabs,Loading 
} from 'vant';

let app = createApp(App)
app.use(Button)
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(NumberKeyboard);
app.use(VanImage)
app.use(Icon)
app.use(NavBar)
app.use(Col)
app.use(Row)
app.use(ActionSheet)
app.use(Field)
app.use(Uploader)
app.use(Tabbar);
app.use(TabbarItem);
app.use(PullRefresh);
app.use(List);
app.use(TextEllipsis);
app.use(SwipeCell);
app.use(Badge)
app.use(Cell);
app.use(CellGroup);
app.use(Grid);
app.use(GridItem);
app.use(Dialog);
app.use(Popup);
app.use(Sidebar);
app.use(SidebarItem);
app.use(Search);
app.use(Card);
app.use(Divider);
app.use(Radio);
app.use(RadioGroup);
app.use(Space);
app.use(Form);
app.use(SubmitBar);
app.use(Empty);
app.use(Picker);
app.use(Cascader);
app.use(Overlay);
app.use(Swipe);
app.use(SwipeItem);
app.use(Tab);
app.use(Tabs);
app.use(Loading);
app.use(ImagePreview);
app.use(createPinia())
app.use(router)
app.mount('#app')
